package com.dingreading.cloud.subject.service;

import com.dingreading.cloud.common.base.R;
import com.dingreading.cloud.subject.entity.SubjectLessonLog;
import com.mybatisflex.core.service.IService;

/**
 * 服务层。
 *
 * @author Administrator
 * @since 2025-10-13
 */
public interface SubjectLessonLogService extends IService<SubjectLessonLog> {

    // 课件文件下载防暴击
    R<Object> preventDuplicateDownload(String storeUid, String staffUid, String lessonUid, int type);

    // 学科文件下载防暴击
    R<Object> preventDuplicateDownload(String storeUid, String staffUid, Long subjectId, Long fileId, int type);

}
